<template>
    <el-tabs type="border-card">
        <el-tab-pane label="健康计划">
            <Plan :active="0" />
        </el-tab-pane>
        <el-tab-pane label="食物方案">
            <PlanFood :active="1" />
        </el-tab-pane>
    </el-tabs>
</template>

<script>
    import Plan from "./Plan";
    import PlanFood from "./PlanFood";
    export default {
        components: { Plan, PlanFood },
        data() {
            return {
                active: 0,
            };
        },
    };
</script>

<style scoped></style>
